package study.d_09;

public class practice1 {
    public static void main(String[] args){
        //一开始车上没有乘客
        int count=0;
        //第一站:上一个
        count=count+1;
        //2:上2,下1
        count=count+2-1;
        //3:上2,下1
        count=count+2-1;
        //4:下1
        count=count-1;
        //5:上1
        count=count+1;
        //终点站有几位乘客
        System.out.println(count);//3
    }
}
